package com.yunxin.core.application.service;


import com.yunxin.common.result.PageResult;
import com.yunxin.core.application.command.popup.PopupPageCommand;
import com.yunxin.core.application.command.popup.ProductOptionsCommand;
import com.yunxin.core.application.dto.popup.PopupListDTO;
import com.yunxin.core.application.dto.popup.PopupPageDTO;
import com.yunxin.core.application.dto.popup.PopupProductsDTO;
import com.yunxin.core.application.dto.popup.ProductOptionsDTO;

import java.util.List;

/**
 * @author zero°
 * @since 2023-12-11
 */
public interface PopupQueryAdminService {
    /**
     * 分页查询推荐弹窗
     * @param command command
     * @return PageResult<PopupPageDTO>
     */
    PageResult<PopupPageDTO> page(PopupPageCommand command);

    /**
     * 查询推荐弹窗列表下拉框
     * @return List<PopupListDTO>
     */
    List<PopupListDTO> list();

    /**
     * 查询弹窗可选产品
     * @param command command
     * @return ProductOptionsDTO
     */
    ProductOptionsDTO productOptions(ProductOptionsCommand command);

    /**
     * 查询弹窗产品列表
     * @param command command
     * @return PopupProductsDTO
     */
    PopupProductsDTO queryProductList(ProductOptionsCommand command);
}
